<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<%
	String path = request.getContextPath();
	String basePath = request.getScheme() + "://" + request.getServerName() + ":" + request.getServerPort()
			+ path + "/";
%>
<%@  taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<%@  taglib prefix="fn" uri="http://java.sun.com/jsp/jstl/functions"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<base href="<%=basePath%>">
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>订单中心</title>
<link rel="stylesheet" href="static/css/dd-pj.css" />
<script type="text/javascript" src="static/js/jquery-3.1.0.js"></script>
</head>
<body>
	<jsp:include page="/WEB-INF/jsps/dd/dd_home.jsp">
		<jsp:param value="0" name="index" />
	</jsp:include>
	<div class="big-box">
		<div class="top-one">评价订单</div>
		<div class="top-two">
			订单号：<span id="ddid">${ddid}</span><span>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;${time}</span>
		</div>
		<div class="body-box">
			<div class="pj-right">
				<div class="img">
					<img style="width: 100px;height: 100px;" src="${purl}" />
				</div>
				<a class="js">${ms}</a>
				<div class="m-n">￥${money}</div>
				<span id="spid">${spid}</span><span id="yhid">${yhid}</span>
			</div>
			<div class="pj-left">
				<div class="pjgg">
					<div class="yp-one">
						<div class="o-n-e">商品满意度</div>
						1分<input type="radio" value="1" name="fen" />2分<input
							type="radio" value="2" name="fen" /> 3分<input type="radio"
							value="3" name="fen" />4分<input type="radio" value="4"
							name="fen" /> 5分<input type="radio" value="5" name="fen" />
					
						<div class="t-w-o">评价晒单</div>
						<textarea id="pjjj" style="width: 600px; height: 100px;"></textarea>
					</div>
				</div>
			</div>
		</div>

		<div class="btn-box">
			<button class="pj-tj">提交</button>
		</div>
		<script type="text/javascript">
			$(function(){
				$('.pj-tj').click(function(){
					var f=$("input[name='fen']:checked").val();
					var ddid = $('.top-two #ddid').text();
					var pj=$("#pjjj").val();
					var spid=$("#spid").text();
					var yhid=$("#yhid").text();
					$.get("pj_tj",{"dj":f,"pj":pj,"spid":spid,"yhid":yhid,"ddid":ddid},
							function(data){
						location.href ="index1";
					});
					alert(f+pj+spid+yhid);
				//	location.href ="index2_pj?f="+f+"&pj="+pj;
				})
			})
		</script>
	</div>
</body>
</html>